
<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <input id="order_id" name="row[order_id]" type="text" class="hidden" value="{$row.order_id}">
    <input id="staff_id" name="row[staff_id]" type="text" class="hidden" value={$row.staff_id}>
    <div class="form-group">
        <label for="begintime" class="control-label col-xs-12 col-sm-2">{:__('begintime')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input type="text" class="form-control datetimepicker" id="begintime" name="row[begintime]" value="{$row.begintime}" data-date-format="YYYY-MM-DD" data-rule="{:__('facetime')}:required" size="6" />
        </div>
    </div>
    <div class="form-group">
        <label for="serverdays" class="control-label col-xs-12 col-sm-2">天数</label>
        <div class="col-xs-12 col-sm-8">
            <input id="serverdays" class="form-control" name="row[serverdays]" type="number" value="{$daylist[$orderdata.server_days_id]}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
